<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<style>
    .many-over {
        width: 200px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /*多行溢出*/
    .aa {
        border: 1px solid red;
    }
</style>
<body>
<div class="aa many-over">
    fasdfasdfa sdfasdfasd fasdfasdf asdfasdfasdfasdfasdfasdfasdfasdfasdfasdf asdfasdfa sdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasdfasd
</div>
</body>
</html>